{% if paginator is defined %}
  <div class="container max-w-7xl mx-auto py-8 px-4 sm:px-6 lg:px-8">

    <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4">
      {% for page in paginator.pages %}
        {% include "partials/list-element.html" %}
      {% endfor %}
    </div>

    {% include "partials/navigation.html" %}

  </div>
{% endif %}
